import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/common.scss'
import './assets/css/reset.css'
import Vant from 'vant';
import 'vant/lib/index.css';
import 'amfe-flexible'; // 根据视图窗口的大小，动态计算根节点，字体的大小
let app = createApp(App);

const test = () => {
    console.log('我是测试函数触发的');
    return '测试成功！';
};

app.config.globalProperties.$Test = test;

app.use(Vant).use(store).use(router).mount('#app')

